package com.sali.design_pattern.f_responsibility_pattern.service;

import com.sali.design_pattern.c_factory_method_pattern.lesson_03.pojo.User;
import org.springframework.stereotype.Service;

@Service
public class ResponseUserService implements com.sali.design_pattern.f_responsibility_pattern.service.IResponseUserService {
    @Override
    public User getUser(Long id) {
        User user = new User();
        user.setId(id);
        user.setUsername("sali");
        return user;
    }
}
